<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link rel="stylesheet" href="font-awesome-4.6.3/css/font-awesome.min.css" />
<link rel="stylesheet" href="bootstrap-table/bootstrap.min.css" />
<link rel="stylesheet" href="bootstrap-table/bootstrap-table.css">
<link rel="stylesheet" type="text/css" href="jquery-ui-1.12.1.custom/jquery-ui.css">
<link rel="stylesheet" href="css/top.css" />
<link rel="stylesheet" href="css/home.css" />
<link rel="stylesheet" href="css/reveal.css">	
<script src="js/jquery-1.9.1.js"></script>
<script src="js/jquery.min.js"></script>
<script src="jquery-ui-1.12.1.custom/jquery-ui.min.js"></script>
<script src="js/top.js"></script>
<script src="js/jquery.reveal.js"></script>
<script src="js/office_hall_modal.js"></script>
<script src="js/home_function.js"></script>
<script src="js/home.js"></script>
<script src="js/echarts.min.js"></script>
<script src="js/the-charts.js"></script>
<script src="js/jquery.wallform.js"></script>
<script src="js/jquery-form.js"></script>
<script src="js/page.js"></script>
<script>
var user_id = '<%=session.getAttribute("userid")%>';
var user_name = '<%=session.getAttribute("username")%>';
var faceaddress = '<%=session.getAttribute("faceaddress")%>';
var ticket = '<%=session.getAttribute("ticket")%>';
</script>

<title>智行校园</title>
</head>
<body >
    <input  type="hidden" value="我的主页"  />
	<div class="container" style="margin-top:0px">
        <div class="main_lcontainer">
           <img src="img/sy-qp_03.png">
           <h2>我要毕业</h2>
           <div class="xxjh_pie"></div>
           <a class="xxjh_detial" href="html/home/study.jsp" data-title="学习计划">点击查看详情</a>
           <div  class="xxjh_agroups">
           <a href="html/home/study.jsp" data-title="学习计划"><img src="img/syxq-tb_10.png"/>学习计划</a>
           <a href="html/home/study.jsp" data-title="我的成绩"> <img src="img/sy-qp_07.png"/>我的成绩</a>
           <a href="html/home/study.jsp" data-title="挂科预警"><img src="img/sy-qp_09.png"/>挂科预警</a>
           </div>
        </div>
        <div class="main_rcontainer">
           <div class="main_rtcontainer">
               <img src="img/rili_new.png">
               
               <div class="clear"></div>
           </div>
           <div class="main_rbcontainer">
              <div class="message_header">
                 <a href="#"><h3> 消息 </h3>（0）</a>
                 <a href="html/personal_center/message.jsp">查看更多. . .</a>
              </div>
           </div>
        </div>
		<div class="clear"></div>
	</div>

	<footer>
	<div class="footer_left" style="height: 4.5em"></div>
	<div class=" footer_right" style="height: 4.5em">
		<div class="left_div"> 
			<button id="footer_toggle" class="footer_up"></button>
		</div>
		<div class="right_div">
			<label><img class="footer_scan" id="androidsmall" src="" /><img id="iossmall" src="" class="footer_scan" />智行校园APP</label>
			<label class="change"><font size="4">智行校园APP</font></br> 
			<span>
				<div>
				    <img id="androidbig" class="footer_scan_1" src="" />
				</div>
				<div>
				     andriod下载
				</div>
		    </span>
			<span>
			     <div>
			         <img id="iosbig" class="footer_scan_1" src=""/>
			     </div>
			     <div>
			         ios下载
			     </div>
			</span>
			</label>
		</div>
	</div>
	</footer>
	<div id="myFunction">
		<div class="dialog"></div>
		<div class="my_dialog">
			<h3 class="function_header">管理我的应用
			   <i class="fa fa-times" style="float:right;margin-right:1em;cursor:pointer;margin-top:0.4em"></i></h3>
			<button class="function_finish">提交</button>
			<div class="dialog_content">
				<div class="my_function"></div>
				<div class="other_function"></div>
			</div>
		</div>
	</div>
	 <form method="post" name="home_form">
		 <input type="hidden" value="" name="userid" />
		 <input type="hidden" value="" name="xijh_type" />
	 </form>
	 <div id="myModal" class="reveal-modal">
		 <h3 class="reveal-modal-header"></h3>
          <div class="content"></div>
          <div class="reveal-modal-footer">
            <ul>
            	<li>应用打分</li>
            	<li><span></span></li>
            	<li><span></span></li>
            	<li><span></span></li>
            	<li><span></span></li>
            	<li><span></span></li>
            	<li class="fabulous"><a>点赞</a></li>
            	<li class="fabulous dz"><a>
	            	<span>
		            	<span>
		            	</span>
	            	</span>
            	</a></li>
            	<li class="fabulous submit"><a href="javascript:;" class="btn-df">提交</a></li>
            	<div class="clear"></div>
            </ul>
          </div>
          <a class="back-reveal-modal"><i class="fa fa-chevron-circle-left" ></i> 返回上一级</a>
          <a class="close-reveal-modal">×</a>
	</div>
	<script>
	$('body').append(' <input id="user_id" style="display:none" value="'+user_id+'"  />');
	$('form[name="home_form"] input[name="userid"]').attr('value',user_id);
	paint_pie({userid:user_id,ticket:ticket});
	$('div.lbcontainer a,div.rccontainer a.search_info,div.ltcontainer a').click(function(event){
		$('form[name="home_form"]').attr('action',$(this).attr('href'));
		$('form[name="home_form"]').submit();
		return false;
    });
	$('div.main_lcontainer a').click(function(event){
		var $this=$(this);
		$('form[name="home_form"]').attr('action',$this.attr('href'));
		$('form[name="home_form"] input[name="xijh_type"').attr('value',$this.attr('data-title'));
		$('form[name="home_form"]').submit();
		return false;
    });
    function paint_pie(param){
			$.getJSON('/WDDXSERVER/home/getXF_PC?callback=?',param,function(data){
				  var c = echarts.init($('div.xxjh_pie')[0], 'macarons');
					c.hideLoading();
					var option = Config('','','').option8(data);
					c.setOption(option, true);
					$(window).resize(function() {
						c.resize();
						c.setOption(option);
					});
					});
		}
	</script>
</body>
</html>